package test0107;

import java.util.Map;
import java.util.TreeMap;

public class Test06 {
    public static void main(String[] args) {
        Map<Integer, String> map = new TreeMap<Integer, String>();
        map.put(2, "b");
        map.put(1, "c");
        map.put(3, "d");
        map.forEach((k,v)-> {
            System.out.println(k + "\t" + v);
        });
    }
}
